package vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.part;

import java.util.Collection;
import java.util.Collections;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;

import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.ecore.util.EcoreUtil;
import org.eclipse.gmf.runtime.notation.View;

import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.AbstractPresentation;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.AbstractUIComponent;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.Activator;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.AdaptedauiPackage;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.Command;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.InputField;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.MultipleChoice;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.Navigator;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.OutputField;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.Presentation;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.PresentationContainerRelationship;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.PresentationSystem;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.PresentationTemporalRelationship;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.PresentationUnit;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.SingleChoice;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.UIComponent;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.UIContainerRelationship;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.UITemporalRelationship;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.AbstractPresentationEditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.AbstractPresentationUIComponentCompartmentEditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.AbstractUIComponent2EditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.AbstractUIComponentEditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.ActivatorEditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.CommandDestinationsEditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.InputFieldEditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.MultipleChoiceEditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.NavigatorEditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.OutputFieldEditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.PresentationContainerRelationshipEditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.PresentationSystemEditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.PresentationTemporalRelationship10EditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.PresentationTemporalRelationship11EditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.PresentationTemporalRelationship2EditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.PresentationTemporalRelationship3EditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.PresentationTemporalRelationship4EditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.PresentationTemporalRelationship5EditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.PresentationTemporalRelationship6EditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.PresentationTemporalRelationship7EditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.PresentationTemporalRelationship8EditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.PresentationTemporalRelationship9EditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.PresentationTemporalRelationshipEditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.PresentationUnitEditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.PresentationUnitUIComponentCompartmentEditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.SingleChoiceEditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.UIContainerRelationshipEditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.UITemporalRelationship10EditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.UITemporalRelationship11EditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.UITemporalRelationship2EditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.UITemporalRelationship3EditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.UITemporalRelationship4EditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.UITemporalRelationship5EditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.UITemporalRelationship6EditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.UITemporalRelationship7EditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.UITemporalRelationship8EditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.UITemporalRelationship9EditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.edit.parts.UITemporalRelationshipEditPart;
import vn.edu.hcmus.fit.se.mdd.mbuid.adaptedaui.diagram.providers.AdaptedauiElementTypes;

/**
 * @generated
 */
public class AdaptedauiDiagramUpdater {

	/**
	 * @generated
	 */
	public static boolean isShortcutOrphaned(View view) {
		return !view.isSetElement() || view.getElement() == null
				|| view.getElement().eIsProxy();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiNodeDescriptor> getSemanticChildren(View view) {
		switch (AdaptedauiVisualIDRegistry.getVisualID(view)) {
		case PresentationSystemEditPart.VISUAL_ID:
			return getPresentationSystem_1000SemanticChildren(view);
		case PresentationUnitUIComponentCompartmentEditPart.VISUAL_ID:
			return getPresentationUnitUIComponentCompartment_7001SemanticChildren(view);
		case AbstractPresentationUIComponentCompartmentEditPart.VISUAL_ID:
			return getAbstractPresentationUIComponentCompartment_7002SemanticChildren(view);
		}
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiNodeDescriptor> getPresentationSystem_1000SemanticChildren(
			View view) {
		if (!view.isSetElement()) {
			return Collections.emptyList();
		}
		PresentationSystem modelElement = (PresentationSystem) view
				.getElement();
		LinkedList<AdaptedauiNodeDescriptor> result = new LinkedList<AdaptedauiNodeDescriptor>();
		for (Iterator<?> it = modelElement.getPresentations().iterator(); it
				.hasNext();) {
			Presentation childElement = (Presentation) it.next();
			int visualID = AdaptedauiVisualIDRegistry.getNodeVisualID(view,
					childElement);
			if (visualID == PresentationUnitEditPart.VISUAL_ID) {
				result.add(new AdaptedauiNodeDescriptor(childElement, visualID));
				continue;
			}
			if (visualID == AbstractPresentationEditPart.VISUAL_ID) {
				result.add(new AdaptedauiNodeDescriptor(childElement, visualID));
				continue;
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiNodeDescriptor> getPresentationUnitUIComponentCompartment_7001SemanticChildren(
			View view) {
		if (false == view.eContainer() instanceof View) {
			return Collections.emptyList();
		}
		View containerView = (View) view.eContainer();
		if (!containerView.isSetElement()) {
			return Collections.emptyList();
		}
		PresentationUnit modelElement = (PresentationUnit) containerView
				.getElement();
		LinkedList<AdaptedauiNodeDescriptor> result = new LinkedList<AdaptedauiNodeDescriptor>();
		for (Iterator<?> it = modelElement.getUiComponents().iterator(); it
				.hasNext();) {
			UIComponent childElement = (UIComponent) it.next();
			int visualID = AdaptedauiVisualIDRegistry.getNodeVisualID(view,
					childElement);
			if (visualID == AbstractUIComponentEditPart.VISUAL_ID) {
				result.add(new AdaptedauiNodeDescriptor(childElement, visualID));
				continue;
			}
			if (visualID == MultipleChoiceEditPart.VISUAL_ID) {
				result.add(new AdaptedauiNodeDescriptor(childElement, visualID));
				continue;
			}
			if (visualID == InputFieldEditPart.VISUAL_ID) {
				result.add(new AdaptedauiNodeDescriptor(childElement, visualID));
				continue;
			}
			if (visualID == OutputFieldEditPart.VISUAL_ID) {
				result.add(new AdaptedauiNodeDescriptor(childElement, visualID));
				continue;
			}
			if (visualID == NavigatorEditPart.VISUAL_ID) {
				result.add(new AdaptedauiNodeDescriptor(childElement, visualID));
				continue;
			}
			if (visualID == SingleChoiceEditPart.VISUAL_ID) {
				result.add(new AdaptedauiNodeDescriptor(childElement, visualID));
				continue;
			}
			if (visualID == ActivatorEditPart.VISUAL_ID) {
				result.add(new AdaptedauiNodeDescriptor(childElement, visualID));
				continue;
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiNodeDescriptor> getAbstractPresentationUIComponentCompartment_7002SemanticChildren(
			View view) {
		if (false == view.eContainer() instanceof View) {
			return Collections.emptyList();
		}
		View containerView = (View) view.eContainer();
		if (!containerView.isSetElement()) {
			return Collections.emptyList();
		}
		AbstractPresentation modelElement = (AbstractPresentation) containerView
				.getElement();
		LinkedList<AdaptedauiNodeDescriptor> result = new LinkedList<AdaptedauiNodeDescriptor>();
		{
			AbstractUIComponent childElement = modelElement
					.getAbstractUIComponent();
			int visualID = AdaptedauiVisualIDRegistry.getNodeVisualID(view,
					childElement);
			if (visualID == AbstractUIComponent2EditPart.VISUAL_ID) {
				result.add(new AdaptedauiNodeDescriptor(childElement, visualID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getContainedLinks(View view) {
		switch (AdaptedauiVisualIDRegistry.getVisualID(view)) {
		case PresentationSystemEditPart.VISUAL_ID:
			return getPresentationSystem_1000ContainedLinks(view);
		case PresentationUnitEditPart.VISUAL_ID:
			return getPresentationUnit_2001ContainedLinks(view);
		case AbstractPresentationEditPart.VISUAL_ID:
			return getAbstractPresentation_2002ContainedLinks(view);
		case AbstractUIComponentEditPart.VISUAL_ID:
			return getAbstractUIComponent_3001ContainedLinks(view);
		case MultipleChoiceEditPart.VISUAL_ID:
			return getMultipleChoice_3002ContainedLinks(view);
		case InputFieldEditPart.VISUAL_ID:
			return getInputField_3003ContainedLinks(view);
		case OutputFieldEditPart.VISUAL_ID:
			return getOutputField_3004ContainedLinks(view);
		case NavigatorEditPart.VISUAL_ID:
			return getNavigator_3005ContainedLinks(view);
		case SingleChoiceEditPart.VISUAL_ID:
			return getSingleChoice_3006ContainedLinks(view);
		case ActivatorEditPart.VISUAL_ID:
			return getActivator_3007ContainedLinks(view);
		case AbstractUIComponent2EditPart.VISUAL_ID:
			return getAbstractUIComponent_3009ContainedLinks(view);
		case UITemporalRelationshipEditPart.VISUAL_ID:
			return getUITemporalRelationship_4001ContainedLinks(view);
		case UITemporalRelationship2EditPart.VISUAL_ID:
			return getUITemporalRelationship_4002ContainedLinks(view);
		case UITemporalRelationship3EditPart.VISUAL_ID:
			return getUITemporalRelationship_4003ContainedLinks(view);
		case UITemporalRelationship4EditPart.VISUAL_ID:
			return getUITemporalRelationship_4004ContainedLinks(view);
		case UITemporalRelationship5EditPart.VISUAL_ID:
			return getUITemporalRelationship_4005ContainedLinks(view);
		case UITemporalRelationship6EditPart.VISUAL_ID:
			return getUITemporalRelationship_4006ContainedLinks(view);
		case UITemporalRelationship7EditPart.VISUAL_ID:
			return getUITemporalRelationship_4007ContainedLinks(view);
		case UITemporalRelationship8EditPart.VISUAL_ID:
			return getUITemporalRelationship_4008ContainedLinks(view);
		case UITemporalRelationship9EditPart.VISUAL_ID:
			return getUITemporalRelationship_4009ContainedLinks(view);
		case UITemporalRelationship10EditPart.VISUAL_ID:
			return getUITemporalRelationship_4010ContainedLinks(view);
		case UITemporalRelationship11EditPart.VISUAL_ID:
			return getUITemporalRelationship_4011ContainedLinks(view);
		case UIContainerRelationshipEditPart.VISUAL_ID:
			return getUIContainerRelationship_4012ContainedLinks(view);
		case PresentationContainerRelationshipEditPart.VISUAL_ID:
			return getPresentationContainerRelationship_4013ContainedLinks(view);
		case PresentationTemporalRelationshipEditPart.VISUAL_ID:
			return getPresentationTemporalRelationship_4015ContainedLinks(view);
		case PresentationTemporalRelationship2EditPart.VISUAL_ID:
			return getPresentationTemporalRelationship_4016ContainedLinks(view);
		case PresentationTemporalRelationship3EditPart.VISUAL_ID:
			return getPresentationTemporalRelationship_4017ContainedLinks(view);
		case PresentationTemporalRelationship4EditPart.VISUAL_ID:
			return getPresentationTemporalRelationship_4018ContainedLinks(view);
		case PresentationTemporalRelationship5EditPart.VISUAL_ID:
			return getPresentationTemporalRelationship_4019ContainedLinks(view);
		case PresentationTemporalRelationship6EditPart.VISUAL_ID:
			return getPresentationTemporalRelationship_4020ContainedLinks(view);
		case PresentationTemporalRelationship7EditPart.VISUAL_ID:
			return getPresentationTemporalRelationship_4021ContainedLinks(view);
		case PresentationTemporalRelationship8EditPart.VISUAL_ID:
			return getPresentationTemporalRelationship_4022ContainedLinks(view);
		case PresentationTemporalRelationship9EditPart.VISUAL_ID:
			return getPresentationTemporalRelationship_4023ContainedLinks(view);
		case PresentationTemporalRelationship10EditPart.VISUAL_ID:
			return getPresentationTemporalRelationship_4024ContainedLinks(view);
		case PresentationTemporalRelationship11EditPart.VISUAL_ID:
			return getPresentationTemporalRelationship_4025ContainedLinks(view);
		}
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getIncomingLinks(View view) {
		switch (AdaptedauiVisualIDRegistry.getVisualID(view)) {
		case PresentationUnitEditPart.VISUAL_ID:
			return getPresentationUnit_2001IncomingLinks(view);
		case AbstractPresentationEditPart.VISUAL_ID:
			return getAbstractPresentation_2002IncomingLinks(view);
		case AbstractUIComponentEditPart.VISUAL_ID:
			return getAbstractUIComponent_3001IncomingLinks(view);
		case MultipleChoiceEditPart.VISUAL_ID:
			return getMultipleChoice_3002IncomingLinks(view);
		case InputFieldEditPart.VISUAL_ID:
			return getInputField_3003IncomingLinks(view);
		case OutputFieldEditPart.VISUAL_ID:
			return getOutputField_3004IncomingLinks(view);
		case NavigatorEditPart.VISUAL_ID:
			return getNavigator_3005IncomingLinks(view);
		case SingleChoiceEditPart.VISUAL_ID:
			return getSingleChoice_3006IncomingLinks(view);
		case ActivatorEditPart.VISUAL_ID:
			return getActivator_3007IncomingLinks(view);
		case AbstractUIComponent2EditPart.VISUAL_ID:
			return getAbstractUIComponent_3009IncomingLinks(view);
		case UITemporalRelationshipEditPart.VISUAL_ID:
			return getUITemporalRelationship_4001IncomingLinks(view);
		case UITemporalRelationship2EditPart.VISUAL_ID:
			return getUITemporalRelationship_4002IncomingLinks(view);
		case UITemporalRelationship3EditPart.VISUAL_ID:
			return getUITemporalRelationship_4003IncomingLinks(view);
		case UITemporalRelationship4EditPart.VISUAL_ID:
			return getUITemporalRelationship_4004IncomingLinks(view);
		case UITemporalRelationship5EditPart.VISUAL_ID:
			return getUITemporalRelationship_4005IncomingLinks(view);
		case UITemporalRelationship6EditPart.VISUAL_ID:
			return getUITemporalRelationship_4006IncomingLinks(view);
		case UITemporalRelationship7EditPart.VISUAL_ID:
			return getUITemporalRelationship_4007IncomingLinks(view);
		case UITemporalRelationship8EditPart.VISUAL_ID:
			return getUITemporalRelationship_4008IncomingLinks(view);
		case UITemporalRelationship9EditPart.VISUAL_ID:
			return getUITemporalRelationship_4009IncomingLinks(view);
		case UITemporalRelationship10EditPart.VISUAL_ID:
			return getUITemporalRelationship_4010IncomingLinks(view);
		case UITemporalRelationship11EditPart.VISUAL_ID:
			return getUITemporalRelationship_4011IncomingLinks(view);
		case UIContainerRelationshipEditPart.VISUAL_ID:
			return getUIContainerRelationship_4012IncomingLinks(view);
		case PresentationContainerRelationshipEditPart.VISUAL_ID:
			return getPresentationContainerRelationship_4013IncomingLinks(view);
		case PresentationTemporalRelationshipEditPart.VISUAL_ID:
			return getPresentationTemporalRelationship_4015IncomingLinks(view);
		case PresentationTemporalRelationship2EditPart.VISUAL_ID:
			return getPresentationTemporalRelationship_4016IncomingLinks(view);
		case PresentationTemporalRelationship3EditPart.VISUAL_ID:
			return getPresentationTemporalRelationship_4017IncomingLinks(view);
		case PresentationTemporalRelationship4EditPart.VISUAL_ID:
			return getPresentationTemporalRelationship_4018IncomingLinks(view);
		case PresentationTemporalRelationship5EditPart.VISUAL_ID:
			return getPresentationTemporalRelationship_4019IncomingLinks(view);
		case PresentationTemporalRelationship6EditPart.VISUAL_ID:
			return getPresentationTemporalRelationship_4020IncomingLinks(view);
		case PresentationTemporalRelationship7EditPart.VISUAL_ID:
			return getPresentationTemporalRelationship_4021IncomingLinks(view);
		case PresentationTemporalRelationship8EditPart.VISUAL_ID:
			return getPresentationTemporalRelationship_4022IncomingLinks(view);
		case PresentationTemporalRelationship9EditPart.VISUAL_ID:
			return getPresentationTemporalRelationship_4023IncomingLinks(view);
		case PresentationTemporalRelationship10EditPart.VISUAL_ID:
			return getPresentationTemporalRelationship_4024IncomingLinks(view);
		case PresentationTemporalRelationship11EditPart.VISUAL_ID:
			return getPresentationTemporalRelationship_4025IncomingLinks(view);
		}
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getOutgoingLinks(View view) {
		switch (AdaptedauiVisualIDRegistry.getVisualID(view)) {
		case PresentationUnitEditPart.VISUAL_ID:
			return getPresentationUnit_2001OutgoingLinks(view);
		case AbstractPresentationEditPart.VISUAL_ID:
			return getAbstractPresentation_2002OutgoingLinks(view);
		case AbstractUIComponentEditPart.VISUAL_ID:
			return getAbstractUIComponent_3001OutgoingLinks(view);
		case MultipleChoiceEditPart.VISUAL_ID:
			return getMultipleChoice_3002OutgoingLinks(view);
		case InputFieldEditPart.VISUAL_ID:
			return getInputField_3003OutgoingLinks(view);
		case OutputFieldEditPart.VISUAL_ID:
			return getOutputField_3004OutgoingLinks(view);
		case NavigatorEditPart.VISUAL_ID:
			return getNavigator_3005OutgoingLinks(view);
		case SingleChoiceEditPart.VISUAL_ID:
			return getSingleChoice_3006OutgoingLinks(view);
		case ActivatorEditPart.VISUAL_ID:
			return getActivator_3007OutgoingLinks(view);
		case AbstractUIComponent2EditPart.VISUAL_ID:
			return getAbstractUIComponent_3009OutgoingLinks(view);
		case UITemporalRelationshipEditPart.VISUAL_ID:
			return getUITemporalRelationship_4001OutgoingLinks(view);
		case UITemporalRelationship2EditPart.VISUAL_ID:
			return getUITemporalRelationship_4002OutgoingLinks(view);
		case UITemporalRelationship3EditPart.VISUAL_ID:
			return getUITemporalRelationship_4003OutgoingLinks(view);
		case UITemporalRelationship4EditPart.VISUAL_ID:
			return getUITemporalRelationship_4004OutgoingLinks(view);
		case UITemporalRelationship5EditPart.VISUAL_ID:
			return getUITemporalRelationship_4005OutgoingLinks(view);
		case UITemporalRelationship6EditPart.VISUAL_ID:
			return getUITemporalRelationship_4006OutgoingLinks(view);
		case UITemporalRelationship7EditPart.VISUAL_ID:
			return getUITemporalRelationship_4007OutgoingLinks(view);
		case UITemporalRelationship8EditPart.VISUAL_ID:
			return getUITemporalRelationship_4008OutgoingLinks(view);
		case UITemporalRelationship9EditPart.VISUAL_ID:
			return getUITemporalRelationship_4009OutgoingLinks(view);
		case UITemporalRelationship10EditPart.VISUAL_ID:
			return getUITemporalRelationship_4010OutgoingLinks(view);
		case UITemporalRelationship11EditPart.VISUAL_ID:
			return getUITemporalRelationship_4011OutgoingLinks(view);
		case UIContainerRelationshipEditPart.VISUAL_ID:
			return getUIContainerRelationship_4012OutgoingLinks(view);
		case PresentationContainerRelationshipEditPart.VISUAL_ID:
			return getPresentationContainerRelationship_4013OutgoingLinks(view);
		case PresentationTemporalRelationshipEditPart.VISUAL_ID:
			return getPresentationTemporalRelationship_4015OutgoingLinks(view);
		case PresentationTemporalRelationship2EditPart.VISUAL_ID:
			return getPresentationTemporalRelationship_4016OutgoingLinks(view);
		case PresentationTemporalRelationship3EditPart.VISUAL_ID:
			return getPresentationTemporalRelationship_4017OutgoingLinks(view);
		case PresentationTemporalRelationship4EditPart.VISUAL_ID:
			return getPresentationTemporalRelationship_4018OutgoingLinks(view);
		case PresentationTemporalRelationship5EditPart.VISUAL_ID:
			return getPresentationTemporalRelationship_4019OutgoingLinks(view);
		case PresentationTemporalRelationship6EditPart.VISUAL_ID:
			return getPresentationTemporalRelationship_4020OutgoingLinks(view);
		case PresentationTemporalRelationship7EditPart.VISUAL_ID:
			return getPresentationTemporalRelationship_4021OutgoingLinks(view);
		case PresentationTemporalRelationship8EditPart.VISUAL_ID:
			return getPresentationTemporalRelationship_4022OutgoingLinks(view);
		case PresentationTemporalRelationship9EditPart.VISUAL_ID:
			return getPresentationTemporalRelationship_4023OutgoingLinks(view);
		case PresentationTemporalRelationship10EditPart.VISUAL_ID:
			return getPresentationTemporalRelationship_4024OutgoingLinks(view);
		case PresentationTemporalRelationship11EditPart.VISUAL_ID:
			return getPresentationTemporalRelationship_4025OutgoingLinks(view);
		}
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationSystem_1000ContainedLinks(
			View view) {
		PresentationSystem modelElement = (PresentationSystem) view
				.getElement();
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		result.addAll(getContainedTypeModelFacetLinks_PresentationContainerRelationship_4013(modelElement));
		result.addAll(getContainedTypeModelFacetLinks_PresentationTemporalRelationship_4015(modelElement));
		result.addAll(getContainedTypeModelFacetLinks_PresentationTemporalRelationship_4016(modelElement));
		result.addAll(getContainedTypeModelFacetLinks_PresentationTemporalRelationship_4017(modelElement));
		result.addAll(getContainedTypeModelFacetLinks_PresentationTemporalRelationship_4018(modelElement));
		result.addAll(getContainedTypeModelFacetLinks_PresentationTemporalRelationship_4019(modelElement));
		result.addAll(getContainedTypeModelFacetLinks_PresentationTemporalRelationship_4020(modelElement));
		result.addAll(getContainedTypeModelFacetLinks_PresentationTemporalRelationship_4021(modelElement));
		result.addAll(getContainedTypeModelFacetLinks_PresentationTemporalRelationship_4022(modelElement));
		result.addAll(getContainedTypeModelFacetLinks_PresentationTemporalRelationship_4023(modelElement));
		result.addAll(getContainedTypeModelFacetLinks_PresentationTemporalRelationship_4024(modelElement));
		result.addAll(getContainedTypeModelFacetLinks_PresentationTemporalRelationship_4025(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationUnit_2001ContainedLinks(
			View view) {
		PresentationUnit modelElement = (PresentationUnit) view.getElement();
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		result.addAll(getContainedTypeModelFacetLinks_UITemporalRelationship_4001(modelElement));
		result.addAll(getContainedTypeModelFacetLinks_UITemporalRelationship_4002(modelElement));
		result.addAll(getContainedTypeModelFacetLinks_UITemporalRelationship_4003(modelElement));
		result.addAll(getContainedTypeModelFacetLinks_UITemporalRelationship_4004(modelElement));
		result.addAll(getContainedTypeModelFacetLinks_UITemporalRelationship_4005(modelElement));
		result.addAll(getContainedTypeModelFacetLinks_UITemporalRelationship_4006(modelElement));
		result.addAll(getContainedTypeModelFacetLinks_UITemporalRelationship_4007(modelElement));
		result.addAll(getContainedTypeModelFacetLinks_UITemporalRelationship_4008(modelElement));
		result.addAll(getContainedTypeModelFacetLinks_UITemporalRelationship_4009(modelElement));
		result.addAll(getContainedTypeModelFacetLinks_UITemporalRelationship_4010(modelElement));
		result.addAll(getContainedTypeModelFacetLinks_UITemporalRelationship_4011(modelElement));
		result.addAll(getContainedTypeModelFacetLinks_UIContainerRelationship_4012(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getAbstractPresentation_2002ContainedLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getAbstractUIComponent_3001ContainedLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getMultipleChoice_3002ContainedLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getInputField_3003ContainedLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getOutputField_3004ContainedLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getNavigator_3005ContainedLinks(
			View view) {
		Navigator modelElement = (Navigator) view.getElement();
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		result.addAll(getOutgoingFeatureModelFacetLinks_Command_Destinations_4014(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getSingleChoice_3006ContainedLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getActivator_3007ContainedLinks(
			View view) {
		Activator modelElement = (Activator) view.getElement();
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		result.addAll(getOutgoingFeatureModelFacetLinks_Command_Destinations_4014(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getAbstractUIComponent_3009ContainedLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getUITemporalRelationship_4001ContainedLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getUITemporalRelationship_4002ContainedLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getUITemporalRelationship_4003ContainedLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getUITemporalRelationship_4004ContainedLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getUITemporalRelationship_4005ContainedLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getUITemporalRelationship_4006ContainedLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getUITemporalRelationship_4007ContainedLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getUITemporalRelationship_4008ContainedLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getUITemporalRelationship_4009ContainedLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getUITemporalRelationship_4010ContainedLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getUITemporalRelationship_4011ContainedLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getUIContainerRelationship_4012ContainedLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationContainerRelationship_4013ContainedLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationTemporalRelationship_4015ContainedLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationTemporalRelationship_4016ContainedLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationTemporalRelationship_4017ContainedLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationTemporalRelationship_4018ContainedLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationTemporalRelationship_4019ContainedLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationTemporalRelationship_4020ContainedLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationTemporalRelationship_4021ContainedLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationTemporalRelationship_4022ContainedLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationTemporalRelationship_4023ContainedLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationTemporalRelationship_4024ContainedLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationTemporalRelationship_4025ContainedLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationUnit_2001IncomingLinks(
			View view) {
		PresentationUnit modelElement = (PresentationUnit) view.getElement();
		Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		result.addAll(getIncomingTypeModelFacetLinks_PresentationContainerRelationship_4013(
				modelElement, crossReferences));
		result.addAll(getIncomingFeatureModelFacetLinks_Command_Destinations_4014(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_PresentationTemporalRelationship_4015(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_PresentationTemporalRelationship_4016(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_PresentationTemporalRelationship_4017(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_PresentationTemporalRelationship_4018(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_PresentationTemporalRelationship_4019(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_PresentationTemporalRelationship_4020(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_PresentationTemporalRelationship_4021(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_PresentationTemporalRelationship_4022(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_PresentationTemporalRelationship_4023(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_PresentationTemporalRelationship_4024(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_PresentationTemporalRelationship_4025(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getAbstractPresentation_2002IncomingLinks(
			View view) {
		AbstractPresentation modelElement = (AbstractPresentation) view
				.getElement();
		Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		result.addAll(getIncomingTypeModelFacetLinks_PresentationContainerRelationship_4013(
				modelElement, crossReferences));
		result.addAll(getIncomingFeatureModelFacetLinks_Command_Destinations_4014(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_PresentationTemporalRelationship_4015(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_PresentationTemporalRelationship_4016(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_PresentationTemporalRelationship_4017(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_PresentationTemporalRelationship_4018(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_PresentationTemporalRelationship_4019(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_PresentationTemporalRelationship_4020(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_PresentationTemporalRelationship_4021(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_PresentationTemporalRelationship_4022(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_PresentationTemporalRelationship_4023(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_PresentationTemporalRelationship_4024(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_PresentationTemporalRelationship_4025(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getAbstractUIComponent_3001IncomingLinks(
			View view) {
		AbstractUIComponent modelElement = (AbstractUIComponent) view
				.getElement();
		Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4001(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4002(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4003(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4004(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4005(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4006(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4007(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4008(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4009(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4010(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4011(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UIContainerRelationship_4012(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getMultipleChoice_3002IncomingLinks(
			View view) {
		MultipleChoice modelElement = (MultipleChoice) view.getElement();
		Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4001(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4002(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4003(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4004(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4005(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4006(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4007(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4008(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4009(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4010(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4011(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UIContainerRelationship_4012(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getInputField_3003IncomingLinks(
			View view) {
		InputField modelElement = (InputField) view.getElement();
		Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4001(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4002(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4003(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4004(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4005(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4006(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4007(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4008(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4009(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4010(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4011(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UIContainerRelationship_4012(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getOutputField_3004IncomingLinks(
			View view) {
		OutputField modelElement = (OutputField) view.getElement();
		Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4001(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4002(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4003(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4004(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4005(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4006(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4007(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4008(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4009(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4010(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4011(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UIContainerRelationship_4012(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getNavigator_3005IncomingLinks(
			View view) {
		Navigator modelElement = (Navigator) view.getElement();
		Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4001(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4002(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4003(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4004(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4005(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4006(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4007(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4008(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4009(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4010(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4011(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UIContainerRelationship_4012(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getSingleChoice_3006IncomingLinks(
			View view) {
		SingleChoice modelElement = (SingleChoice) view.getElement();
		Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4001(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4002(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4003(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4004(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4005(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4006(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4007(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4008(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4009(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4010(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4011(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UIContainerRelationship_4012(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getActivator_3007IncomingLinks(
			View view) {
		Activator modelElement = (Activator) view.getElement();
		Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4001(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4002(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4003(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4004(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4005(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4006(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4007(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4008(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4009(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4010(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4011(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UIContainerRelationship_4012(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getAbstractUIComponent_3009IncomingLinks(
			View view) {
		AbstractUIComponent modelElement = (AbstractUIComponent) view
				.getElement();
		Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences = EcoreUtil.CrossReferencer
				.find(view.eResource().getResourceSet().getResources());
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4001(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4002(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4003(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4004(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4005(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4006(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4007(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4008(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4009(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4010(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UITemporalRelationship_4011(
				modelElement, crossReferences));
		result.addAll(getIncomingTypeModelFacetLinks_UIContainerRelationship_4012(
				modelElement, crossReferences));
		return result;
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getUITemporalRelationship_4001IncomingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getUITemporalRelationship_4002IncomingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getUITemporalRelationship_4003IncomingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getUITemporalRelationship_4004IncomingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getUITemporalRelationship_4005IncomingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getUITemporalRelationship_4006IncomingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getUITemporalRelationship_4007IncomingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getUITemporalRelationship_4008IncomingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getUITemporalRelationship_4009IncomingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getUITemporalRelationship_4010IncomingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getUITemporalRelationship_4011IncomingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getUIContainerRelationship_4012IncomingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationContainerRelationship_4013IncomingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationTemporalRelationship_4015IncomingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationTemporalRelationship_4016IncomingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationTemporalRelationship_4017IncomingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationTemporalRelationship_4018IncomingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationTemporalRelationship_4019IncomingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationTemporalRelationship_4020IncomingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationTemporalRelationship_4021IncomingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationTemporalRelationship_4022IncomingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationTemporalRelationship_4023IncomingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationTemporalRelationship_4024IncomingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationTemporalRelationship_4025IncomingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationUnit_2001OutgoingLinks(
			View view) {
		PresentationUnit modelElement = (PresentationUnit) view.getElement();
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		result.addAll(getOutgoingTypeModelFacetLinks_PresentationTemporalRelationship_4015(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_PresentationTemporalRelationship_4016(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_PresentationTemporalRelationship_4017(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_PresentationTemporalRelationship_4018(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_PresentationTemporalRelationship_4019(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_PresentationTemporalRelationship_4020(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_PresentationTemporalRelationship_4021(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_PresentationTemporalRelationship_4022(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_PresentationTemporalRelationship_4023(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_PresentationTemporalRelationship_4024(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_PresentationTemporalRelationship_4025(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getAbstractPresentation_2002OutgoingLinks(
			View view) {
		AbstractPresentation modelElement = (AbstractPresentation) view
				.getElement();
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		result.addAll(getOutgoingTypeModelFacetLinks_PresentationContainerRelationship_4013(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_PresentationTemporalRelationship_4015(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_PresentationTemporalRelationship_4016(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_PresentationTemporalRelationship_4017(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_PresentationTemporalRelationship_4018(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_PresentationTemporalRelationship_4019(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_PresentationTemporalRelationship_4020(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_PresentationTemporalRelationship_4021(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_PresentationTemporalRelationship_4022(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_PresentationTemporalRelationship_4023(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_PresentationTemporalRelationship_4024(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_PresentationTemporalRelationship_4025(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getAbstractUIComponent_3001OutgoingLinks(
			View view) {
		AbstractUIComponent modelElement = (AbstractUIComponent) view
				.getElement();
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4001(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4002(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4003(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4004(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4005(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4006(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4007(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4008(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4009(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4010(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4011(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UIContainerRelationship_4012(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getMultipleChoice_3002OutgoingLinks(
			View view) {
		MultipleChoice modelElement = (MultipleChoice) view.getElement();
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4001(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4002(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4003(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4004(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4005(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4006(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4007(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4008(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4009(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4010(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4011(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getInputField_3003OutgoingLinks(
			View view) {
		InputField modelElement = (InputField) view.getElement();
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4001(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4002(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4003(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4004(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4005(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4006(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4007(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4008(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4009(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4010(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4011(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getOutputField_3004OutgoingLinks(
			View view) {
		OutputField modelElement = (OutputField) view.getElement();
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4001(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4002(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4003(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4004(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4005(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4006(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4007(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4008(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4009(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4010(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4011(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getNavigator_3005OutgoingLinks(
			View view) {
		Navigator modelElement = (Navigator) view.getElement();
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4001(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4002(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4003(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4004(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4005(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4006(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4007(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4008(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4009(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4010(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4011(modelElement));
		result.addAll(getOutgoingFeatureModelFacetLinks_Command_Destinations_4014(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getSingleChoice_3006OutgoingLinks(
			View view) {
		SingleChoice modelElement = (SingleChoice) view.getElement();
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4001(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4002(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4003(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4004(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4005(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4006(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4007(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4008(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4009(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4010(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4011(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getActivator_3007OutgoingLinks(
			View view) {
		Activator modelElement = (Activator) view.getElement();
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4001(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4002(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4003(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4004(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4005(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4006(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4007(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4008(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4009(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4010(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4011(modelElement));
		result.addAll(getOutgoingFeatureModelFacetLinks_Command_Destinations_4014(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getAbstractUIComponent_3009OutgoingLinks(
			View view) {
		AbstractUIComponent modelElement = (AbstractUIComponent) view
				.getElement();
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4001(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4002(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4003(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4004(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4005(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4006(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4007(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4008(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4009(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4010(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UITemporalRelationship_4011(modelElement));
		result.addAll(getOutgoingTypeModelFacetLinks_UIContainerRelationship_4012(modelElement));
		return result;
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getUITemporalRelationship_4001OutgoingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getUITemporalRelationship_4002OutgoingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getUITemporalRelationship_4003OutgoingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getUITemporalRelationship_4004OutgoingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getUITemporalRelationship_4005OutgoingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getUITemporalRelationship_4006OutgoingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getUITemporalRelationship_4007OutgoingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getUITemporalRelationship_4008OutgoingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getUITemporalRelationship_4009OutgoingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getUITemporalRelationship_4010OutgoingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getUITemporalRelationship_4011OutgoingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getUIContainerRelationship_4012OutgoingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationContainerRelationship_4013OutgoingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationTemporalRelationship_4015OutgoingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationTemporalRelationship_4016OutgoingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationTemporalRelationship_4017OutgoingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationTemporalRelationship_4018OutgoingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationTemporalRelationship_4019OutgoingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationTemporalRelationship_4020OutgoingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationTemporalRelationship_4021OutgoingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationTemporalRelationship_4022OutgoingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationTemporalRelationship_4023OutgoingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationTemporalRelationship_4024OutgoingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	public static List<AdaptedauiLinkDescriptor> getPresentationTemporalRelationship_4025OutgoingLinks(
			View view) {
		return Collections.emptyList();
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getContainedTypeModelFacetLinks_UITemporalRelationship_4001(
			PresentationUnit container) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof UITemporalRelationship) {
				continue;
			}
			UITemporalRelationship link = (UITemporalRelationship) linkObject;
			if (UITemporalRelationshipEditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			UIComponent dst = link.getTarget();
			UIComponent src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(src, dst, link,
					AdaptedauiElementTypes.UITemporalRelationship_4001,
					UITemporalRelationshipEditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getContainedTypeModelFacetLinks_UITemporalRelationship_4002(
			PresentationUnit container) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof UITemporalRelationship) {
				continue;
			}
			UITemporalRelationship link = (UITemporalRelationship) linkObject;
			if (UITemporalRelationship2EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			UIComponent dst = link.getTarget();
			UIComponent src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(src, dst, link,
					AdaptedauiElementTypes.UITemporalRelationship_4002,
					UITemporalRelationship2EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getContainedTypeModelFacetLinks_UITemporalRelationship_4003(
			PresentationUnit container) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof UITemporalRelationship) {
				continue;
			}
			UITemporalRelationship link = (UITemporalRelationship) linkObject;
			if (UITemporalRelationship3EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			UIComponent dst = link.getTarget();
			UIComponent src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(src, dst, link,
					AdaptedauiElementTypes.UITemporalRelationship_4003,
					UITemporalRelationship3EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getContainedTypeModelFacetLinks_UITemporalRelationship_4004(
			PresentationUnit container) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof UITemporalRelationship) {
				continue;
			}
			UITemporalRelationship link = (UITemporalRelationship) linkObject;
			if (UITemporalRelationship4EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			UIComponent dst = link.getTarget();
			UIComponent src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(src, dst, link,
					AdaptedauiElementTypes.UITemporalRelationship_4004,
					UITemporalRelationship4EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getContainedTypeModelFacetLinks_UITemporalRelationship_4005(
			PresentationUnit container) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof UITemporalRelationship) {
				continue;
			}
			UITemporalRelationship link = (UITemporalRelationship) linkObject;
			if (UITemporalRelationship5EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			UIComponent dst = link.getTarget();
			UIComponent src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(src, dst, link,
					AdaptedauiElementTypes.UITemporalRelationship_4005,
					UITemporalRelationship5EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getContainedTypeModelFacetLinks_UITemporalRelationship_4006(
			PresentationUnit container) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof UITemporalRelationship) {
				continue;
			}
			UITemporalRelationship link = (UITemporalRelationship) linkObject;
			if (UITemporalRelationship6EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			UIComponent dst = link.getTarget();
			UIComponent src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(src, dst, link,
					AdaptedauiElementTypes.UITemporalRelationship_4006,
					UITemporalRelationship6EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getContainedTypeModelFacetLinks_UITemporalRelationship_4007(
			PresentationUnit container) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof UITemporalRelationship) {
				continue;
			}
			UITemporalRelationship link = (UITemporalRelationship) linkObject;
			if (UITemporalRelationship7EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			UIComponent dst = link.getTarget();
			UIComponent src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(src, dst, link,
					AdaptedauiElementTypes.UITemporalRelationship_4007,
					UITemporalRelationship7EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getContainedTypeModelFacetLinks_UITemporalRelationship_4008(
			PresentationUnit container) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof UITemporalRelationship) {
				continue;
			}
			UITemporalRelationship link = (UITemporalRelationship) linkObject;
			if (UITemporalRelationship8EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			UIComponent dst = link.getTarget();
			UIComponent src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(src, dst, link,
					AdaptedauiElementTypes.UITemporalRelationship_4008,
					UITemporalRelationship8EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getContainedTypeModelFacetLinks_UITemporalRelationship_4009(
			PresentationUnit container) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof UITemporalRelationship) {
				continue;
			}
			UITemporalRelationship link = (UITemporalRelationship) linkObject;
			if (UITemporalRelationship9EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			UIComponent dst = link.getTarget();
			UIComponent src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(src, dst, link,
					AdaptedauiElementTypes.UITemporalRelationship_4009,
					UITemporalRelationship9EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getContainedTypeModelFacetLinks_UITemporalRelationship_4010(
			PresentationUnit container) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof UITemporalRelationship) {
				continue;
			}
			UITemporalRelationship link = (UITemporalRelationship) linkObject;
			if (UITemporalRelationship10EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			UIComponent dst = link.getTarget();
			UIComponent src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(src, dst, link,
					AdaptedauiElementTypes.UITemporalRelationship_4010,
					UITemporalRelationship10EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getContainedTypeModelFacetLinks_UITemporalRelationship_4011(
			PresentationUnit container) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof UITemporalRelationship) {
				continue;
			}
			UITemporalRelationship link = (UITemporalRelationship) linkObject;
			if (UITemporalRelationship11EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			UIComponent dst = link.getTarget();
			UIComponent src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(src, dst, link,
					AdaptedauiElementTypes.UITemporalRelationship_4011,
					UITemporalRelationship11EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getContainedTypeModelFacetLinks_UIContainerRelationship_4012(
			PresentationUnit container) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof UIContainerRelationship) {
				continue;
			}
			UIContainerRelationship link = (UIContainerRelationship) linkObject;
			if (UIContainerRelationshipEditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			UIComponent dst = link.getTarget();
			AbstractUIComponent src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(src, dst, link,
					AdaptedauiElementTypes.UIContainerRelationship_4012,
					UIContainerRelationshipEditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getContainedTypeModelFacetLinks_PresentationContainerRelationship_4013(
			PresentationSystem container) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof PresentationContainerRelationship) {
				continue;
			}
			PresentationContainerRelationship link = (PresentationContainerRelationship) linkObject;
			if (PresentationContainerRelationshipEditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			Presentation dst = link.getTarget();
			AbstractPresentation src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(
					src,
					dst,
					link,
					AdaptedauiElementTypes.PresentationContainerRelationship_4013,
					PresentationContainerRelationshipEditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getContainedTypeModelFacetLinks_PresentationTemporalRelationship_4015(
			PresentationSystem container) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof PresentationTemporalRelationship) {
				continue;
			}
			PresentationTemporalRelationship link = (PresentationTemporalRelationship) linkObject;
			if (PresentationTemporalRelationshipEditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			Presentation dst = link.getTarget();
			Presentation src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(
					src,
					dst,
					link,
					AdaptedauiElementTypes.PresentationTemporalRelationship_4015,
					PresentationTemporalRelationshipEditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getContainedTypeModelFacetLinks_PresentationTemporalRelationship_4016(
			PresentationSystem container) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof PresentationTemporalRelationship) {
				continue;
			}
			PresentationTemporalRelationship link = (PresentationTemporalRelationship) linkObject;
			if (PresentationTemporalRelationship2EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			Presentation dst = link.getTarget();
			Presentation src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(
					src,
					dst,
					link,
					AdaptedauiElementTypes.PresentationTemporalRelationship_4016,
					PresentationTemporalRelationship2EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getContainedTypeModelFacetLinks_PresentationTemporalRelationship_4017(
			PresentationSystem container) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof PresentationTemporalRelationship) {
				continue;
			}
			PresentationTemporalRelationship link = (PresentationTemporalRelationship) linkObject;
			if (PresentationTemporalRelationship3EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			Presentation dst = link.getTarget();
			Presentation src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(
					src,
					dst,
					link,
					AdaptedauiElementTypes.PresentationTemporalRelationship_4017,
					PresentationTemporalRelationship3EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getContainedTypeModelFacetLinks_PresentationTemporalRelationship_4018(
			PresentationSystem container) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof PresentationTemporalRelationship) {
				continue;
			}
			PresentationTemporalRelationship link = (PresentationTemporalRelationship) linkObject;
			if (PresentationTemporalRelationship4EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			Presentation dst = link.getTarget();
			Presentation src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(
					src,
					dst,
					link,
					AdaptedauiElementTypes.PresentationTemporalRelationship_4018,
					PresentationTemporalRelationship4EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getContainedTypeModelFacetLinks_PresentationTemporalRelationship_4019(
			PresentationSystem container) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof PresentationTemporalRelationship) {
				continue;
			}
			PresentationTemporalRelationship link = (PresentationTemporalRelationship) linkObject;
			if (PresentationTemporalRelationship5EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			Presentation dst = link.getTarget();
			Presentation src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(
					src,
					dst,
					link,
					AdaptedauiElementTypes.PresentationTemporalRelationship_4019,
					PresentationTemporalRelationship5EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getContainedTypeModelFacetLinks_PresentationTemporalRelationship_4020(
			PresentationSystem container) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof PresentationTemporalRelationship) {
				continue;
			}
			PresentationTemporalRelationship link = (PresentationTemporalRelationship) linkObject;
			if (PresentationTemporalRelationship6EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			Presentation dst = link.getTarget();
			Presentation src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(
					src,
					dst,
					link,
					AdaptedauiElementTypes.PresentationTemporalRelationship_4020,
					PresentationTemporalRelationship6EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getContainedTypeModelFacetLinks_PresentationTemporalRelationship_4021(
			PresentationSystem container) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof PresentationTemporalRelationship) {
				continue;
			}
			PresentationTemporalRelationship link = (PresentationTemporalRelationship) linkObject;
			if (PresentationTemporalRelationship7EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			Presentation dst = link.getTarget();
			Presentation src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(
					src,
					dst,
					link,
					AdaptedauiElementTypes.PresentationTemporalRelationship_4021,
					PresentationTemporalRelationship7EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getContainedTypeModelFacetLinks_PresentationTemporalRelationship_4022(
			PresentationSystem container) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof PresentationTemporalRelationship) {
				continue;
			}
			PresentationTemporalRelationship link = (PresentationTemporalRelationship) linkObject;
			if (PresentationTemporalRelationship8EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			Presentation dst = link.getTarget();
			Presentation src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(
					src,
					dst,
					link,
					AdaptedauiElementTypes.PresentationTemporalRelationship_4022,
					PresentationTemporalRelationship8EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getContainedTypeModelFacetLinks_PresentationTemporalRelationship_4023(
			PresentationSystem container) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof PresentationTemporalRelationship) {
				continue;
			}
			PresentationTemporalRelationship link = (PresentationTemporalRelationship) linkObject;
			if (PresentationTemporalRelationship9EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			Presentation dst = link.getTarget();
			Presentation src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(
					src,
					dst,
					link,
					AdaptedauiElementTypes.PresentationTemporalRelationship_4023,
					PresentationTemporalRelationship9EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getContainedTypeModelFacetLinks_PresentationTemporalRelationship_4024(
			PresentationSystem container) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof PresentationTemporalRelationship) {
				continue;
			}
			PresentationTemporalRelationship link = (PresentationTemporalRelationship) linkObject;
			if (PresentationTemporalRelationship10EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			Presentation dst = link.getTarget();
			Presentation src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(
					src,
					dst,
					link,
					AdaptedauiElementTypes.PresentationTemporalRelationship_4024,
					PresentationTemporalRelationship10EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getContainedTypeModelFacetLinks_PresentationTemporalRelationship_4025(
			PresentationSystem container) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof PresentationTemporalRelationship) {
				continue;
			}
			PresentationTemporalRelationship link = (PresentationTemporalRelationship) linkObject;
			if (PresentationTemporalRelationship11EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			Presentation dst = link.getTarget();
			Presentation src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(
					src,
					dst,
					link,
					AdaptedauiElementTypes.PresentationTemporalRelationship_4025,
					PresentationTemporalRelationship11EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getIncomingTypeModelFacetLinks_UITemporalRelationship_4001(
			UIComponent target,
			Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		Collection<EStructuralFeature.Setting> settings = crossReferences
				.get(target);
		for (EStructuralFeature.Setting setting : settings) {
			if (setting.getEStructuralFeature() != AdaptedauiPackage.eINSTANCE
					.getUITemporalRelationship_Target()
					|| false == setting.getEObject() instanceof UITemporalRelationship) {
				continue;
			}
			UITemporalRelationship link = (UITemporalRelationship) setting
					.getEObject();
			if (UITemporalRelationshipEditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			UIComponent src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(src, target, link,
					AdaptedauiElementTypes.UITemporalRelationship_4001,
					UITemporalRelationshipEditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getIncomingTypeModelFacetLinks_UITemporalRelationship_4002(
			UIComponent target,
			Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		Collection<EStructuralFeature.Setting> settings = crossReferences
				.get(target);
		for (EStructuralFeature.Setting setting : settings) {
			if (setting.getEStructuralFeature() != AdaptedauiPackage.eINSTANCE
					.getUITemporalRelationship_Target()
					|| false == setting.getEObject() instanceof UITemporalRelationship) {
				continue;
			}
			UITemporalRelationship link = (UITemporalRelationship) setting
					.getEObject();
			if (UITemporalRelationship2EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			UIComponent src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(src, target, link,
					AdaptedauiElementTypes.UITemporalRelationship_4002,
					UITemporalRelationship2EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getIncomingTypeModelFacetLinks_UITemporalRelationship_4003(
			UIComponent target,
			Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		Collection<EStructuralFeature.Setting> settings = crossReferences
				.get(target);
		for (EStructuralFeature.Setting setting : settings) {
			if (setting.getEStructuralFeature() != AdaptedauiPackage.eINSTANCE
					.getUITemporalRelationship_Target()
					|| false == setting.getEObject() instanceof UITemporalRelationship) {
				continue;
			}
			UITemporalRelationship link = (UITemporalRelationship) setting
					.getEObject();
			if (UITemporalRelationship3EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			UIComponent src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(src, target, link,
					AdaptedauiElementTypes.UITemporalRelationship_4003,
					UITemporalRelationship3EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getIncomingTypeModelFacetLinks_UITemporalRelationship_4004(
			UIComponent target,
			Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		Collection<EStructuralFeature.Setting> settings = crossReferences
				.get(target);
		for (EStructuralFeature.Setting setting : settings) {
			if (setting.getEStructuralFeature() != AdaptedauiPackage.eINSTANCE
					.getUITemporalRelationship_Target()
					|| false == setting.getEObject() instanceof UITemporalRelationship) {
				continue;
			}
			UITemporalRelationship link = (UITemporalRelationship) setting
					.getEObject();
			if (UITemporalRelationship4EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			UIComponent src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(src, target, link,
					AdaptedauiElementTypes.UITemporalRelationship_4004,
					UITemporalRelationship4EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getIncomingTypeModelFacetLinks_UITemporalRelationship_4005(
			UIComponent target,
			Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		Collection<EStructuralFeature.Setting> settings = crossReferences
				.get(target);
		for (EStructuralFeature.Setting setting : settings) {
			if (setting.getEStructuralFeature() != AdaptedauiPackage.eINSTANCE
					.getUITemporalRelationship_Target()
					|| false == setting.getEObject() instanceof UITemporalRelationship) {
				continue;
			}
			UITemporalRelationship link = (UITemporalRelationship) setting
					.getEObject();
			if (UITemporalRelationship5EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			UIComponent src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(src, target, link,
					AdaptedauiElementTypes.UITemporalRelationship_4005,
					UITemporalRelationship5EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getIncomingTypeModelFacetLinks_UITemporalRelationship_4006(
			UIComponent target,
			Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		Collection<EStructuralFeature.Setting> settings = crossReferences
				.get(target);
		for (EStructuralFeature.Setting setting : settings) {
			if (setting.getEStructuralFeature() != AdaptedauiPackage.eINSTANCE
					.getUITemporalRelationship_Target()
					|| false == setting.getEObject() instanceof UITemporalRelationship) {
				continue;
			}
			UITemporalRelationship link = (UITemporalRelationship) setting
					.getEObject();
			if (UITemporalRelationship6EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			UIComponent src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(src, target, link,
					AdaptedauiElementTypes.UITemporalRelationship_4006,
					UITemporalRelationship6EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getIncomingTypeModelFacetLinks_UITemporalRelationship_4007(
			UIComponent target,
			Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		Collection<EStructuralFeature.Setting> settings = crossReferences
				.get(target);
		for (EStructuralFeature.Setting setting : settings) {
			if (setting.getEStructuralFeature() != AdaptedauiPackage.eINSTANCE
					.getUITemporalRelationship_Target()
					|| false == setting.getEObject() instanceof UITemporalRelationship) {
				continue;
			}
			UITemporalRelationship link = (UITemporalRelationship) setting
					.getEObject();
			if (UITemporalRelationship7EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			UIComponent src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(src, target, link,
					AdaptedauiElementTypes.UITemporalRelationship_4007,
					UITemporalRelationship7EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getIncomingTypeModelFacetLinks_UITemporalRelationship_4008(
			UIComponent target,
			Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		Collection<EStructuralFeature.Setting> settings = crossReferences
				.get(target);
		for (EStructuralFeature.Setting setting : settings) {
			if (setting.getEStructuralFeature() != AdaptedauiPackage.eINSTANCE
					.getUITemporalRelationship_Target()
					|| false == setting.getEObject() instanceof UITemporalRelationship) {
				continue;
			}
			UITemporalRelationship link = (UITemporalRelationship) setting
					.getEObject();
			if (UITemporalRelationship8EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			UIComponent src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(src, target, link,
					AdaptedauiElementTypes.UITemporalRelationship_4008,
					UITemporalRelationship8EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getIncomingTypeModelFacetLinks_UITemporalRelationship_4009(
			UIComponent target,
			Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		Collection<EStructuralFeature.Setting> settings = crossReferences
				.get(target);
		for (EStructuralFeature.Setting setting : settings) {
			if (setting.getEStructuralFeature() != AdaptedauiPackage.eINSTANCE
					.getUITemporalRelationship_Target()
					|| false == setting.getEObject() instanceof UITemporalRelationship) {
				continue;
			}
			UITemporalRelationship link = (UITemporalRelationship) setting
					.getEObject();
			if (UITemporalRelationship9EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			UIComponent src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(src, target, link,
					AdaptedauiElementTypes.UITemporalRelationship_4009,
					UITemporalRelationship9EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getIncomingTypeModelFacetLinks_UITemporalRelationship_4010(
			UIComponent target,
			Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		Collection<EStructuralFeature.Setting> settings = crossReferences
				.get(target);
		for (EStructuralFeature.Setting setting : settings) {
			if (setting.getEStructuralFeature() != AdaptedauiPackage.eINSTANCE
					.getUITemporalRelationship_Target()
					|| false == setting.getEObject() instanceof UITemporalRelationship) {
				continue;
			}
			UITemporalRelationship link = (UITemporalRelationship) setting
					.getEObject();
			if (UITemporalRelationship10EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			UIComponent src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(src, target, link,
					AdaptedauiElementTypes.UITemporalRelationship_4010,
					UITemporalRelationship10EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getIncomingTypeModelFacetLinks_UITemporalRelationship_4011(
			UIComponent target,
			Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		Collection<EStructuralFeature.Setting> settings = crossReferences
				.get(target);
		for (EStructuralFeature.Setting setting : settings) {
			if (setting.getEStructuralFeature() != AdaptedauiPackage.eINSTANCE
					.getUITemporalRelationship_Target()
					|| false == setting.getEObject() instanceof UITemporalRelationship) {
				continue;
			}
			UITemporalRelationship link = (UITemporalRelationship) setting
					.getEObject();
			if (UITemporalRelationship11EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			UIComponent src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(src, target, link,
					AdaptedauiElementTypes.UITemporalRelationship_4011,
					UITemporalRelationship11EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getIncomingTypeModelFacetLinks_UIContainerRelationship_4012(
			UIComponent target,
			Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		Collection<EStructuralFeature.Setting> settings = crossReferences
				.get(target);
		for (EStructuralFeature.Setting setting : settings) {
			if (setting.getEStructuralFeature() != AdaptedauiPackage.eINSTANCE
					.getUIContainerRelationship_Target()
					|| false == setting.getEObject() instanceof UIContainerRelationship) {
				continue;
			}
			UIContainerRelationship link = (UIContainerRelationship) setting
					.getEObject();
			if (UIContainerRelationshipEditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			AbstractUIComponent src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(src, target, link,
					AdaptedauiElementTypes.UIContainerRelationship_4012,
					UIContainerRelationshipEditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getIncomingTypeModelFacetLinks_PresentationContainerRelationship_4013(
			Presentation target,
			Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		Collection<EStructuralFeature.Setting> settings = crossReferences
				.get(target);
		for (EStructuralFeature.Setting setting : settings) {
			if (setting.getEStructuralFeature() != AdaptedauiPackage.eINSTANCE
					.getPresentationContainerRelationship_Target()
					|| false == setting.getEObject() instanceof PresentationContainerRelationship) {
				continue;
			}
			PresentationContainerRelationship link = (PresentationContainerRelationship) setting
					.getEObject();
			if (PresentationContainerRelationshipEditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			AbstractPresentation src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(
					src,
					target,
					link,
					AdaptedauiElementTypes.PresentationContainerRelationship_4013,
					PresentationContainerRelationshipEditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getIncomingFeatureModelFacetLinks_Command_Destinations_4014(
			Presentation target,
			Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		Collection<EStructuralFeature.Setting> settings = crossReferences
				.get(target);
		for (EStructuralFeature.Setting setting : settings) {
			if (setting.getEStructuralFeature() == AdaptedauiPackage.eINSTANCE
					.getCommand_Destinations()) {
				result.add(new AdaptedauiLinkDescriptor(setting.getEObject(),
						target,
						AdaptedauiElementTypes.CommandDestinations_4014,
						CommandDestinationsEditPart.VISUAL_ID));
			}
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getIncomingTypeModelFacetLinks_PresentationTemporalRelationship_4015(
			Presentation target,
			Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		Collection<EStructuralFeature.Setting> settings = crossReferences
				.get(target);
		for (EStructuralFeature.Setting setting : settings) {
			if (setting.getEStructuralFeature() != AdaptedauiPackage.eINSTANCE
					.getPresentationTemporalRelationship_Target()
					|| false == setting.getEObject() instanceof PresentationTemporalRelationship) {
				continue;
			}
			PresentationTemporalRelationship link = (PresentationTemporalRelationship) setting
					.getEObject();
			if (PresentationTemporalRelationshipEditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			Presentation src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(
					src,
					target,
					link,
					AdaptedauiElementTypes.PresentationTemporalRelationship_4015,
					PresentationTemporalRelationshipEditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getIncomingTypeModelFacetLinks_PresentationTemporalRelationship_4016(
			Presentation target,
			Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		Collection<EStructuralFeature.Setting> settings = crossReferences
				.get(target);
		for (EStructuralFeature.Setting setting : settings) {
			if (setting.getEStructuralFeature() != AdaptedauiPackage.eINSTANCE
					.getPresentationTemporalRelationship_Target()
					|| false == setting.getEObject() instanceof PresentationTemporalRelationship) {
				continue;
			}
			PresentationTemporalRelationship link = (PresentationTemporalRelationship) setting
					.getEObject();
			if (PresentationTemporalRelationship2EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			Presentation src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(
					src,
					target,
					link,
					AdaptedauiElementTypes.PresentationTemporalRelationship_4016,
					PresentationTemporalRelationship2EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getIncomingTypeModelFacetLinks_PresentationTemporalRelationship_4017(
			Presentation target,
			Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		Collection<EStructuralFeature.Setting> settings = crossReferences
				.get(target);
		for (EStructuralFeature.Setting setting : settings) {
			if (setting.getEStructuralFeature() != AdaptedauiPackage.eINSTANCE
					.getPresentationTemporalRelationship_Target()
					|| false == setting.getEObject() instanceof PresentationTemporalRelationship) {
				continue;
			}
			PresentationTemporalRelationship link = (PresentationTemporalRelationship) setting
					.getEObject();
			if (PresentationTemporalRelationship3EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			Presentation src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(
					src,
					target,
					link,
					AdaptedauiElementTypes.PresentationTemporalRelationship_4017,
					PresentationTemporalRelationship3EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getIncomingTypeModelFacetLinks_PresentationTemporalRelationship_4018(
			Presentation target,
			Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		Collection<EStructuralFeature.Setting> settings = crossReferences
				.get(target);
		for (EStructuralFeature.Setting setting : settings) {
			if (setting.getEStructuralFeature() != AdaptedauiPackage.eINSTANCE
					.getPresentationTemporalRelationship_Target()
					|| false == setting.getEObject() instanceof PresentationTemporalRelationship) {
				continue;
			}
			PresentationTemporalRelationship link = (PresentationTemporalRelationship) setting
					.getEObject();
			if (PresentationTemporalRelationship4EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			Presentation src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(
					src,
					target,
					link,
					AdaptedauiElementTypes.PresentationTemporalRelationship_4018,
					PresentationTemporalRelationship4EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getIncomingTypeModelFacetLinks_PresentationTemporalRelationship_4019(
			Presentation target,
			Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		Collection<EStructuralFeature.Setting> settings = crossReferences
				.get(target);
		for (EStructuralFeature.Setting setting : settings) {
			if (setting.getEStructuralFeature() != AdaptedauiPackage.eINSTANCE
					.getPresentationTemporalRelationship_Target()
					|| false == setting.getEObject() instanceof PresentationTemporalRelationship) {
				continue;
			}
			PresentationTemporalRelationship link = (PresentationTemporalRelationship) setting
					.getEObject();
			if (PresentationTemporalRelationship5EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			Presentation src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(
					src,
					target,
					link,
					AdaptedauiElementTypes.PresentationTemporalRelationship_4019,
					PresentationTemporalRelationship5EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getIncomingTypeModelFacetLinks_PresentationTemporalRelationship_4020(
			Presentation target,
			Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		Collection<EStructuralFeature.Setting> settings = crossReferences
				.get(target);
		for (EStructuralFeature.Setting setting : settings) {
			if (setting.getEStructuralFeature() != AdaptedauiPackage.eINSTANCE
					.getPresentationTemporalRelationship_Target()
					|| false == setting.getEObject() instanceof PresentationTemporalRelationship) {
				continue;
			}
			PresentationTemporalRelationship link = (PresentationTemporalRelationship) setting
					.getEObject();
			if (PresentationTemporalRelationship6EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			Presentation src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(
					src,
					target,
					link,
					AdaptedauiElementTypes.PresentationTemporalRelationship_4020,
					PresentationTemporalRelationship6EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getIncomingTypeModelFacetLinks_PresentationTemporalRelationship_4021(
			Presentation target,
			Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		Collection<EStructuralFeature.Setting> settings = crossReferences
				.get(target);
		for (EStructuralFeature.Setting setting : settings) {
			if (setting.getEStructuralFeature() != AdaptedauiPackage.eINSTANCE
					.getPresentationTemporalRelationship_Target()
					|| false == setting.getEObject() instanceof PresentationTemporalRelationship) {
				continue;
			}
			PresentationTemporalRelationship link = (PresentationTemporalRelationship) setting
					.getEObject();
			if (PresentationTemporalRelationship7EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			Presentation src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(
					src,
					target,
					link,
					AdaptedauiElementTypes.PresentationTemporalRelationship_4021,
					PresentationTemporalRelationship7EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getIncomingTypeModelFacetLinks_PresentationTemporalRelationship_4022(
			Presentation target,
			Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		Collection<EStructuralFeature.Setting> settings = crossReferences
				.get(target);
		for (EStructuralFeature.Setting setting : settings) {
			if (setting.getEStructuralFeature() != AdaptedauiPackage.eINSTANCE
					.getPresentationTemporalRelationship_Target()
					|| false == setting.getEObject() instanceof PresentationTemporalRelationship) {
				continue;
			}
			PresentationTemporalRelationship link = (PresentationTemporalRelationship) setting
					.getEObject();
			if (PresentationTemporalRelationship8EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			Presentation src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(
					src,
					target,
					link,
					AdaptedauiElementTypes.PresentationTemporalRelationship_4022,
					PresentationTemporalRelationship8EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getIncomingTypeModelFacetLinks_PresentationTemporalRelationship_4023(
			Presentation target,
			Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		Collection<EStructuralFeature.Setting> settings = crossReferences
				.get(target);
		for (EStructuralFeature.Setting setting : settings) {
			if (setting.getEStructuralFeature() != AdaptedauiPackage.eINSTANCE
					.getPresentationTemporalRelationship_Target()
					|| false == setting.getEObject() instanceof PresentationTemporalRelationship) {
				continue;
			}
			PresentationTemporalRelationship link = (PresentationTemporalRelationship) setting
					.getEObject();
			if (PresentationTemporalRelationship9EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			Presentation src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(
					src,
					target,
					link,
					AdaptedauiElementTypes.PresentationTemporalRelationship_4023,
					PresentationTemporalRelationship9EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getIncomingTypeModelFacetLinks_PresentationTemporalRelationship_4024(
			Presentation target,
			Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		Collection<EStructuralFeature.Setting> settings = crossReferences
				.get(target);
		for (EStructuralFeature.Setting setting : settings) {
			if (setting.getEStructuralFeature() != AdaptedauiPackage.eINSTANCE
					.getPresentationTemporalRelationship_Target()
					|| false == setting.getEObject() instanceof PresentationTemporalRelationship) {
				continue;
			}
			PresentationTemporalRelationship link = (PresentationTemporalRelationship) setting
					.getEObject();
			if (PresentationTemporalRelationship10EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			Presentation src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(
					src,
					target,
					link,
					AdaptedauiElementTypes.PresentationTemporalRelationship_4024,
					PresentationTemporalRelationship10EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getIncomingTypeModelFacetLinks_PresentationTemporalRelationship_4025(
			Presentation target,
			Map<EObject, Collection<EStructuralFeature.Setting>> crossReferences) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		Collection<EStructuralFeature.Setting> settings = crossReferences
				.get(target);
		for (EStructuralFeature.Setting setting : settings) {
			if (setting.getEStructuralFeature() != AdaptedauiPackage.eINSTANCE
					.getPresentationTemporalRelationship_Target()
					|| false == setting.getEObject() instanceof PresentationTemporalRelationship) {
				continue;
			}
			PresentationTemporalRelationship link = (PresentationTemporalRelationship) setting
					.getEObject();
			if (PresentationTemporalRelationship11EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			Presentation src = link.getSource();
			result.add(new AdaptedauiLinkDescriptor(
					src,
					target,
					link,
					AdaptedauiElementTypes.PresentationTemporalRelationship_4025,
					PresentationTemporalRelationship11EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getOutgoingTypeModelFacetLinks_UITemporalRelationship_4001(
			UIComponent source) {
		PresentationUnit container = null;
		// Find container element for the link.
		// Climb up by containment hierarchy starting from the source
		// and return the first element that is instance of the container class.
		for (EObject element = source; element != null && container == null; element = element
				.eContainer()) {
			if (element instanceof PresentationUnit) {
				container = (PresentationUnit) element;
			}
		}
		if (container == null) {
			return Collections.emptyList();
		}
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof UITemporalRelationship) {
				continue;
			}
			UITemporalRelationship link = (UITemporalRelationship) linkObject;
			if (UITemporalRelationshipEditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			UIComponent dst = link.getTarget();
			UIComponent src = link.getSource();
			if (src != source) {
				continue;
			}
			result.add(new AdaptedauiLinkDescriptor(src, dst, link,
					AdaptedauiElementTypes.UITemporalRelationship_4001,
					UITemporalRelationshipEditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getOutgoingTypeModelFacetLinks_UITemporalRelationship_4002(
			UIComponent source) {
		PresentationUnit container = null;
		// Find container element for the link.
		// Climb up by containment hierarchy starting from the source
		// and return the first element that is instance of the container class.
		for (EObject element = source; element != null && container == null; element = element
				.eContainer()) {
			if (element instanceof PresentationUnit) {
				container = (PresentationUnit) element;
			}
		}
		if (container == null) {
			return Collections.emptyList();
		}
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof UITemporalRelationship) {
				continue;
			}
			UITemporalRelationship link = (UITemporalRelationship) linkObject;
			if (UITemporalRelationship2EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			UIComponent dst = link.getTarget();
			UIComponent src = link.getSource();
			if (src != source) {
				continue;
			}
			result.add(new AdaptedauiLinkDescriptor(src, dst, link,
					AdaptedauiElementTypes.UITemporalRelationship_4002,
					UITemporalRelationship2EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getOutgoingTypeModelFacetLinks_UITemporalRelationship_4003(
			UIComponent source) {
		PresentationUnit container = null;
		// Find container element for the link.
		// Climb up by containment hierarchy starting from the source
		// and return the first element that is instance of the container class.
		for (EObject element = source; element != null && container == null; element = element
				.eContainer()) {
			if (element instanceof PresentationUnit) {
				container = (PresentationUnit) element;
			}
		}
		if (container == null) {
			return Collections.emptyList();
		}
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof UITemporalRelationship) {
				continue;
			}
			UITemporalRelationship link = (UITemporalRelationship) linkObject;
			if (UITemporalRelationship3EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			UIComponent dst = link.getTarget();
			UIComponent src = link.getSource();
			if (src != source) {
				continue;
			}
			result.add(new AdaptedauiLinkDescriptor(src, dst, link,
					AdaptedauiElementTypes.UITemporalRelationship_4003,
					UITemporalRelationship3EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getOutgoingTypeModelFacetLinks_UITemporalRelationship_4004(
			UIComponent source) {
		PresentationUnit container = null;
		// Find container element for the link.
		// Climb up by containment hierarchy starting from the source
		// and return the first element that is instance of the container class.
		for (EObject element = source; element != null && container == null; element = element
				.eContainer()) {
			if (element instanceof PresentationUnit) {
				container = (PresentationUnit) element;
			}
		}
		if (container == null) {
			return Collections.emptyList();
		}
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof UITemporalRelationship) {
				continue;
			}
			UITemporalRelationship link = (UITemporalRelationship) linkObject;
			if (UITemporalRelationship4EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			UIComponent dst = link.getTarget();
			UIComponent src = link.getSource();
			if (src != source) {
				continue;
			}
			result.add(new AdaptedauiLinkDescriptor(src, dst, link,
					AdaptedauiElementTypes.UITemporalRelationship_4004,
					UITemporalRelationship4EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getOutgoingTypeModelFacetLinks_UITemporalRelationship_4005(
			UIComponent source) {
		PresentationUnit container = null;
		// Find container element for the link.
		// Climb up by containment hierarchy starting from the source
		// and return the first element that is instance of the container class.
		for (EObject element = source; element != null && container == null; element = element
				.eContainer()) {
			if (element instanceof PresentationUnit) {
				container = (PresentationUnit) element;
			}
		}
		if (container == null) {
			return Collections.emptyList();
		}
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof UITemporalRelationship) {
				continue;
			}
			UITemporalRelationship link = (UITemporalRelationship) linkObject;
			if (UITemporalRelationship5EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			UIComponent dst = link.getTarget();
			UIComponent src = link.getSource();
			if (src != source) {
				continue;
			}
			result.add(new AdaptedauiLinkDescriptor(src, dst, link,
					AdaptedauiElementTypes.UITemporalRelationship_4005,
					UITemporalRelationship5EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getOutgoingTypeModelFacetLinks_UITemporalRelationship_4006(
			UIComponent source) {
		PresentationUnit container = null;
		// Find container element for the link.
		// Climb up by containment hierarchy starting from the source
		// and return the first element that is instance of the container class.
		for (EObject element = source; element != null && container == null; element = element
				.eContainer()) {
			if (element instanceof PresentationUnit) {
				container = (PresentationUnit) element;
			}
		}
		if (container == null) {
			return Collections.emptyList();
		}
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof UITemporalRelationship) {
				continue;
			}
			UITemporalRelationship link = (UITemporalRelationship) linkObject;
			if (UITemporalRelationship6EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			UIComponent dst = link.getTarget();
			UIComponent src = link.getSource();
			if (src != source) {
				continue;
			}
			result.add(new AdaptedauiLinkDescriptor(src, dst, link,
					AdaptedauiElementTypes.UITemporalRelationship_4006,
					UITemporalRelationship6EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getOutgoingTypeModelFacetLinks_UITemporalRelationship_4007(
			UIComponent source) {
		PresentationUnit container = null;
		// Find container element for the link.
		// Climb up by containment hierarchy starting from the source
		// and return the first element that is instance of the container class.
		for (EObject element = source; element != null && container == null; element = element
				.eContainer()) {
			if (element instanceof PresentationUnit) {
				container = (PresentationUnit) element;
			}
		}
		if (container == null) {
			return Collections.emptyList();
		}
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof UITemporalRelationship) {
				continue;
			}
			UITemporalRelationship link = (UITemporalRelationship) linkObject;
			if (UITemporalRelationship7EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			UIComponent dst = link.getTarget();
			UIComponent src = link.getSource();
			if (src != source) {
				continue;
			}
			result.add(new AdaptedauiLinkDescriptor(src, dst, link,
					AdaptedauiElementTypes.UITemporalRelationship_4007,
					UITemporalRelationship7EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getOutgoingTypeModelFacetLinks_UITemporalRelationship_4008(
			UIComponent source) {
		PresentationUnit container = null;
		// Find container element for the link.
		// Climb up by containment hierarchy starting from the source
		// and return the first element that is instance of the container class.
		for (EObject element = source; element != null && container == null; element = element
				.eContainer()) {
			if (element instanceof PresentationUnit) {
				container = (PresentationUnit) element;
			}
		}
		if (container == null) {
			return Collections.emptyList();
		}
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof UITemporalRelationship) {
				continue;
			}
			UITemporalRelationship link = (UITemporalRelationship) linkObject;
			if (UITemporalRelationship8EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			UIComponent dst = link.getTarget();
			UIComponent src = link.getSource();
			if (src != source) {
				continue;
			}
			result.add(new AdaptedauiLinkDescriptor(src, dst, link,
					AdaptedauiElementTypes.UITemporalRelationship_4008,
					UITemporalRelationship8EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getOutgoingTypeModelFacetLinks_UITemporalRelationship_4009(
			UIComponent source) {
		PresentationUnit container = null;
		// Find container element for the link.
		// Climb up by containment hierarchy starting from the source
		// and return the first element that is instance of the container class.
		for (EObject element = source; element != null && container == null; element = element
				.eContainer()) {
			if (element instanceof PresentationUnit) {
				container = (PresentationUnit) element;
			}
		}
		if (container == null) {
			return Collections.emptyList();
		}
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof UITemporalRelationship) {
				continue;
			}
			UITemporalRelationship link = (UITemporalRelationship) linkObject;
			if (UITemporalRelationship9EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			UIComponent dst = link.getTarget();
			UIComponent src = link.getSource();
			if (src != source) {
				continue;
			}
			result.add(new AdaptedauiLinkDescriptor(src, dst, link,
					AdaptedauiElementTypes.UITemporalRelationship_4009,
					UITemporalRelationship9EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getOutgoingTypeModelFacetLinks_UITemporalRelationship_4010(
			UIComponent source) {
		PresentationUnit container = null;
		// Find container element for the link.
		// Climb up by containment hierarchy starting from the source
		// and return the first element that is instance of the container class.
		for (EObject element = source; element != null && container == null; element = element
				.eContainer()) {
			if (element instanceof PresentationUnit) {
				container = (PresentationUnit) element;
			}
		}
		if (container == null) {
			return Collections.emptyList();
		}
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof UITemporalRelationship) {
				continue;
			}
			UITemporalRelationship link = (UITemporalRelationship) linkObject;
			if (UITemporalRelationship10EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			UIComponent dst = link.getTarget();
			UIComponent src = link.getSource();
			if (src != source) {
				continue;
			}
			result.add(new AdaptedauiLinkDescriptor(src, dst, link,
					AdaptedauiElementTypes.UITemporalRelationship_4010,
					UITemporalRelationship10EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getOutgoingTypeModelFacetLinks_UITemporalRelationship_4011(
			UIComponent source) {
		PresentationUnit container = null;
		// Find container element for the link.
		// Climb up by containment hierarchy starting from the source
		// and return the first element that is instance of the container class.
		for (EObject element = source; element != null && container == null; element = element
				.eContainer()) {
			if (element instanceof PresentationUnit) {
				container = (PresentationUnit) element;
			}
		}
		if (container == null) {
			return Collections.emptyList();
		}
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof UITemporalRelationship) {
				continue;
			}
			UITemporalRelationship link = (UITemporalRelationship) linkObject;
			if (UITemporalRelationship11EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			UIComponent dst = link.getTarget();
			UIComponent src = link.getSource();
			if (src != source) {
				continue;
			}
			result.add(new AdaptedauiLinkDescriptor(src, dst, link,
					AdaptedauiElementTypes.UITemporalRelationship_4011,
					UITemporalRelationship11EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getOutgoingTypeModelFacetLinks_UIContainerRelationship_4012(
			AbstractUIComponent source) {
		PresentationUnit container = null;
		// Find container element for the link.
		// Climb up by containment hierarchy starting from the source
		// and return the first element that is instance of the container class.
		for (EObject element = source; element != null && container == null; element = element
				.eContainer()) {
			if (element instanceof PresentationUnit) {
				container = (PresentationUnit) element;
			}
		}
		if (container == null) {
			return Collections.emptyList();
		}
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof UIContainerRelationship) {
				continue;
			}
			UIContainerRelationship link = (UIContainerRelationship) linkObject;
			if (UIContainerRelationshipEditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			UIComponent dst = link.getTarget();
			AbstractUIComponent src = link.getSource();
			if (src != source) {
				continue;
			}
			result.add(new AdaptedauiLinkDescriptor(src, dst, link,
					AdaptedauiElementTypes.UIContainerRelationship_4012,
					UIContainerRelationshipEditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getOutgoingTypeModelFacetLinks_PresentationContainerRelationship_4013(
			AbstractPresentation source) {
		PresentationSystem container = null;
		// Find container element for the link.
		// Climb up by containment hierarchy starting from the source
		// and return the first element that is instance of the container class.
		for (EObject element = source; element != null && container == null; element = element
				.eContainer()) {
			if (element instanceof PresentationSystem) {
				container = (PresentationSystem) element;
			}
		}
		if (container == null) {
			return Collections.emptyList();
		}
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof PresentationContainerRelationship) {
				continue;
			}
			PresentationContainerRelationship link = (PresentationContainerRelationship) linkObject;
			if (PresentationContainerRelationshipEditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			Presentation dst = link.getTarget();
			AbstractPresentation src = link.getSource();
			if (src != source) {
				continue;
			}
			result.add(new AdaptedauiLinkDescriptor(
					src,
					dst,
					link,
					AdaptedauiElementTypes.PresentationContainerRelationship_4013,
					PresentationContainerRelationshipEditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getOutgoingFeatureModelFacetLinks_Command_Destinations_4014(
			Command source) {
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> destinations = source.getDestinations().iterator(); destinations
				.hasNext();) {
			Presentation destination = (Presentation) destinations.next();
			result.add(new AdaptedauiLinkDescriptor(source, destination,
					AdaptedauiElementTypes.CommandDestinations_4014,
					CommandDestinationsEditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getOutgoingTypeModelFacetLinks_PresentationTemporalRelationship_4015(
			Presentation source) {
		PresentationSystem container = null;
		// Find container element for the link.
		// Climb up by containment hierarchy starting from the source
		// and return the first element that is instance of the container class.
		for (EObject element = source; element != null && container == null; element = element
				.eContainer()) {
			if (element instanceof PresentationSystem) {
				container = (PresentationSystem) element;
			}
		}
		if (container == null) {
			return Collections.emptyList();
		}
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof PresentationTemporalRelationship) {
				continue;
			}
			PresentationTemporalRelationship link = (PresentationTemporalRelationship) linkObject;
			if (PresentationTemporalRelationshipEditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			Presentation dst = link.getTarget();
			Presentation src = link.getSource();
			if (src != source) {
				continue;
			}
			result.add(new AdaptedauiLinkDescriptor(
					src,
					dst,
					link,
					AdaptedauiElementTypes.PresentationTemporalRelationship_4015,
					PresentationTemporalRelationshipEditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getOutgoingTypeModelFacetLinks_PresentationTemporalRelationship_4016(
			Presentation source) {
		PresentationSystem container = null;
		// Find container element for the link.
		// Climb up by containment hierarchy starting from the source
		// and return the first element that is instance of the container class.
		for (EObject element = source; element != null && container == null; element = element
				.eContainer()) {
			if (element instanceof PresentationSystem) {
				container = (PresentationSystem) element;
			}
		}
		if (container == null) {
			return Collections.emptyList();
		}
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof PresentationTemporalRelationship) {
				continue;
			}
			PresentationTemporalRelationship link = (PresentationTemporalRelationship) linkObject;
			if (PresentationTemporalRelationship2EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			Presentation dst = link.getTarget();
			Presentation src = link.getSource();
			if (src != source) {
				continue;
			}
			result.add(new AdaptedauiLinkDescriptor(
					src,
					dst,
					link,
					AdaptedauiElementTypes.PresentationTemporalRelationship_4016,
					PresentationTemporalRelationship2EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getOutgoingTypeModelFacetLinks_PresentationTemporalRelationship_4017(
			Presentation source) {
		PresentationSystem container = null;
		// Find container element for the link.
		// Climb up by containment hierarchy starting from the source
		// and return the first element that is instance of the container class.
		for (EObject element = source; element != null && container == null; element = element
				.eContainer()) {
			if (element instanceof PresentationSystem) {
				container = (PresentationSystem) element;
			}
		}
		if (container == null) {
			return Collections.emptyList();
		}
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof PresentationTemporalRelationship) {
				continue;
			}
			PresentationTemporalRelationship link = (PresentationTemporalRelationship) linkObject;
			if (PresentationTemporalRelationship3EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			Presentation dst = link.getTarget();
			Presentation src = link.getSource();
			if (src != source) {
				continue;
			}
			result.add(new AdaptedauiLinkDescriptor(
					src,
					dst,
					link,
					AdaptedauiElementTypes.PresentationTemporalRelationship_4017,
					PresentationTemporalRelationship3EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getOutgoingTypeModelFacetLinks_PresentationTemporalRelationship_4018(
			Presentation source) {
		PresentationSystem container = null;
		// Find container element for the link.
		// Climb up by containment hierarchy starting from the source
		// and return the first element that is instance of the container class.
		for (EObject element = source; element != null && container == null; element = element
				.eContainer()) {
			if (element instanceof PresentationSystem) {
				container = (PresentationSystem) element;
			}
		}
		if (container == null) {
			return Collections.emptyList();
		}
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof PresentationTemporalRelationship) {
				continue;
			}
			PresentationTemporalRelationship link = (PresentationTemporalRelationship) linkObject;
			if (PresentationTemporalRelationship4EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			Presentation dst = link.getTarget();
			Presentation src = link.getSource();
			if (src != source) {
				continue;
			}
			result.add(new AdaptedauiLinkDescriptor(
					src,
					dst,
					link,
					AdaptedauiElementTypes.PresentationTemporalRelationship_4018,
					PresentationTemporalRelationship4EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getOutgoingTypeModelFacetLinks_PresentationTemporalRelationship_4019(
			Presentation source) {
		PresentationSystem container = null;
		// Find container element for the link.
		// Climb up by containment hierarchy starting from the source
		// and return the first element that is instance of the container class.
		for (EObject element = source; element != null && container == null; element = element
				.eContainer()) {
			if (element instanceof PresentationSystem) {
				container = (PresentationSystem) element;
			}
		}
		if (container == null) {
			return Collections.emptyList();
		}
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof PresentationTemporalRelationship) {
				continue;
			}
			PresentationTemporalRelationship link = (PresentationTemporalRelationship) linkObject;
			if (PresentationTemporalRelationship5EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			Presentation dst = link.getTarget();
			Presentation src = link.getSource();
			if (src != source) {
				continue;
			}
			result.add(new AdaptedauiLinkDescriptor(
					src,
					dst,
					link,
					AdaptedauiElementTypes.PresentationTemporalRelationship_4019,
					PresentationTemporalRelationship5EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getOutgoingTypeModelFacetLinks_PresentationTemporalRelationship_4020(
			Presentation source) {
		PresentationSystem container = null;
		// Find container element for the link.
		// Climb up by containment hierarchy starting from the source
		// and return the first element that is instance of the container class.
		for (EObject element = source; element != null && container == null; element = element
				.eContainer()) {
			if (element instanceof PresentationSystem) {
				container = (PresentationSystem) element;
			}
		}
		if (container == null) {
			return Collections.emptyList();
		}
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof PresentationTemporalRelationship) {
				continue;
			}
			PresentationTemporalRelationship link = (PresentationTemporalRelationship) linkObject;
			if (PresentationTemporalRelationship6EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			Presentation dst = link.getTarget();
			Presentation src = link.getSource();
			if (src != source) {
				continue;
			}
			result.add(new AdaptedauiLinkDescriptor(
					src,
					dst,
					link,
					AdaptedauiElementTypes.PresentationTemporalRelationship_4020,
					PresentationTemporalRelationship6EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getOutgoingTypeModelFacetLinks_PresentationTemporalRelationship_4021(
			Presentation source) {
		PresentationSystem container = null;
		// Find container element for the link.
		// Climb up by containment hierarchy starting from the source
		// and return the first element that is instance of the container class.
		for (EObject element = source; element != null && container == null; element = element
				.eContainer()) {
			if (element instanceof PresentationSystem) {
				container = (PresentationSystem) element;
			}
		}
		if (container == null) {
			return Collections.emptyList();
		}
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof PresentationTemporalRelationship) {
				continue;
			}
			PresentationTemporalRelationship link = (PresentationTemporalRelationship) linkObject;
			if (PresentationTemporalRelationship7EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			Presentation dst = link.getTarget();
			Presentation src = link.getSource();
			if (src != source) {
				continue;
			}
			result.add(new AdaptedauiLinkDescriptor(
					src,
					dst,
					link,
					AdaptedauiElementTypes.PresentationTemporalRelationship_4021,
					PresentationTemporalRelationship7EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getOutgoingTypeModelFacetLinks_PresentationTemporalRelationship_4022(
			Presentation source) {
		PresentationSystem container = null;
		// Find container element for the link.
		// Climb up by containment hierarchy starting from the source
		// and return the first element that is instance of the container class.
		for (EObject element = source; element != null && container == null; element = element
				.eContainer()) {
			if (element instanceof PresentationSystem) {
				container = (PresentationSystem) element;
			}
		}
		if (container == null) {
			return Collections.emptyList();
		}
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof PresentationTemporalRelationship) {
				continue;
			}
			PresentationTemporalRelationship link = (PresentationTemporalRelationship) linkObject;
			if (PresentationTemporalRelationship8EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			Presentation dst = link.getTarget();
			Presentation src = link.getSource();
			if (src != source) {
				continue;
			}
			result.add(new AdaptedauiLinkDescriptor(
					src,
					dst,
					link,
					AdaptedauiElementTypes.PresentationTemporalRelationship_4022,
					PresentationTemporalRelationship8EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getOutgoingTypeModelFacetLinks_PresentationTemporalRelationship_4023(
			Presentation source) {
		PresentationSystem container = null;
		// Find container element for the link.
		// Climb up by containment hierarchy starting from the source
		// and return the first element that is instance of the container class.
		for (EObject element = source; element != null && container == null; element = element
				.eContainer()) {
			if (element instanceof PresentationSystem) {
				container = (PresentationSystem) element;
			}
		}
		if (container == null) {
			return Collections.emptyList();
		}
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof PresentationTemporalRelationship) {
				continue;
			}
			PresentationTemporalRelationship link = (PresentationTemporalRelationship) linkObject;
			if (PresentationTemporalRelationship9EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			Presentation dst = link.getTarget();
			Presentation src = link.getSource();
			if (src != source) {
				continue;
			}
			result.add(new AdaptedauiLinkDescriptor(
					src,
					dst,
					link,
					AdaptedauiElementTypes.PresentationTemporalRelationship_4023,
					PresentationTemporalRelationship9EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getOutgoingTypeModelFacetLinks_PresentationTemporalRelationship_4024(
			Presentation source) {
		PresentationSystem container = null;
		// Find container element for the link.
		// Climb up by containment hierarchy starting from the source
		// and return the first element that is instance of the container class.
		for (EObject element = source; element != null && container == null; element = element
				.eContainer()) {
			if (element instanceof PresentationSystem) {
				container = (PresentationSystem) element;
			}
		}
		if (container == null) {
			return Collections.emptyList();
		}
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof PresentationTemporalRelationship) {
				continue;
			}
			PresentationTemporalRelationship link = (PresentationTemporalRelationship) linkObject;
			if (PresentationTemporalRelationship10EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			Presentation dst = link.getTarget();
			Presentation src = link.getSource();
			if (src != source) {
				continue;
			}
			result.add(new AdaptedauiLinkDescriptor(
					src,
					dst,
					link,
					AdaptedauiElementTypes.PresentationTemporalRelationship_4024,
					PresentationTemporalRelationship10EditPart.VISUAL_ID));
		}
		return result;
	}

	/**
	 * @generated
	 */
	private static Collection<AdaptedauiLinkDescriptor> getOutgoingTypeModelFacetLinks_PresentationTemporalRelationship_4025(
			Presentation source) {
		PresentationSystem container = null;
		// Find container element for the link.
		// Climb up by containment hierarchy starting from the source
		// and return the first element that is instance of the container class.
		for (EObject element = source; element != null && container == null; element = element
				.eContainer()) {
			if (element instanceof PresentationSystem) {
				container = (PresentationSystem) element;
			}
		}
		if (container == null) {
			return Collections.emptyList();
		}
		LinkedList<AdaptedauiLinkDescriptor> result = new LinkedList<AdaptedauiLinkDescriptor>();
		for (Iterator<?> links = container.getRelationships().iterator(); links
				.hasNext();) {
			EObject linkObject = (EObject) links.next();
			if (false == linkObject instanceof PresentationTemporalRelationship) {
				continue;
			}
			PresentationTemporalRelationship link = (PresentationTemporalRelationship) linkObject;
			if (PresentationTemporalRelationship11EditPart.VISUAL_ID != AdaptedauiVisualIDRegistry
					.getLinkWithClassVisualID(link)) {
				continue;
			}
			Presentation dst = link.getTarget();
			Presentation src = link.getSource();
			if (src != source) {
				continue;
			}
			result.add(new AdaptedauiLinkDescriptor(
					src,
					dst,
					link,
					AdaptedauiElementTypes.PresentationTemporalRelationship_4025,
					PresentationTemporalRelationship11EditPart.VISUAL_ID));
		}
		return result;
	}

}
